<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
<%@ include file="/includes/taglibs.jsp"%>
<!doctype html>
<html>
<%
	String ctx = request.getContextPath();
%>
<head>
	<title><decorator:title/></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<link rel="stylesheet" type="text/css" href="<c:url value='/styles/console.css'/>" ></link>
	<script  type="text/javascript" src="<c:url value='/jqueryui/script/jquery-1.9.1.js'/>"></script>
	<link rel="stylesheet" href="<c:url value='/jqueryui/themes/base/jquery.ui.base.css'/>"/>
	<link rel="stylesheet" href="<c:url value='/jqueryui/themes/base/jquery.ui.theme.css'/>"/>
	<script  type="text/javascript" src="<c:url value='/jqueryui/script/jquery.ui.core.js'/>"></script>
	<script  type="text/javascript" src="<c:url value='/jqueryui/script/jquery.ui.widget.js'/>"></script>
	<script  type="text/javascript" src="<c:url value='/jqueryui/script/jquery.ui.mouse.js'/>"></script>
	<script  type="text/javascript" src="<c:url value='/jqueryui/script/jquery.ui.draggable.js'/>"></script>
	<script  type="text/javascript" src="<c:url value='/jqueryui/script/jquery.ui.position.js'/>"></script>
	<script  type="text/javascript" src="<c:url value='/jqueryui/script/jquery.ui.resizable.js'/>"></script>
	<script  type="text/javascript" src="<c:url value='/jqueryui/script/jquery.ui.button.js'/>"></script>
	<script  type="text/javascript" src="<c:url value='/jqueryui/script/jquery.ui.dialog.js'/>"></script>

	<decorator:head/>
</head>
<c:set var="topMenu" scope="request"><decorator:getProperty property="meta.menu"/></c:set>			
<c:set var="subMenu" scope="request"><decorator:getProperty property="meta.submenu"/></c:set>	
<% String pageControlflag = request.getParameter("pageStyle");//(String)request.getAttribute(""); 
%>		
<body<decorator:getProperty property="body.id" writeEntireProperty="true"/><decorator:getProperty property="body.onload" writeEntireProperty="true"/>>
    <div id="page">
        <div id="header">
            <jsp:include page="/includes/header.jsp"/>
        </div>
        <div id="content">
        	<%if(!"showpage".equals(pageControlflag)){%>
			<ul id="tabmenu">
				<li><a href="<%=ctx %>/carColor.do"
					class="<c:if test="${topMenu eq 'carMgr'}"><c:out value="current" /></c:if>">
					颜色配方管理</a>
					
					<a href="<%=ctx %>/search.do?action=search"
					class="<c:if test="${topMenu eq 'search'}"><c:out value="current" /></c:if>">
					颜色检索</a>
					
				</li>
				
			</ul>
			<%} %>
			<div id="tabcontent">
				<decorator:body/>			
			</div>
        </div>
        <div id="footer">
            <jsp:include page="/includes/footer.jsp"/>
        </div>
    </div>
</body>
</html>
